package org.qiuqiu.vo;
import java.util.List;
/**
 * @description 分页查询信息封装
 */
public class PaginationVO {
    private int pageStart=0;//
	private int pageIndex = 0;// 获取当前页码
	private int pageSize = 10;// 获取当前页现在最大记录数
	private boolean isPage = true; // 是否分页 true 分页 false 不分页

	private String sortField; // 排序列

	private String sortOrder; // 排序方向

	
	@Override
	public String toString() {
		return "PaginationVO [pageStart=" + pageStart + ", pageIndex="
				+ pageIndex + ", pageSize=" + pageSize + ", sortField="
				+ sortField + ", sortOrder=" + sortOrder + ", totalField="
				+ totalField + "]";
	}

	public int getPageStart() {
		return pageStart;
	}

	public void setPageStart(int pageStart) {
		this.pageStart = pageStart;
	}

	//返回页面信息
	private int totalField;
	private List<?> list;
	private String recommandString;
	public int getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public boolean isPage() {
		return isPage;
	}

	public void setPage(boolean isPage) {
		this.isPage = isPage;
	}

	public String getSortField() {
		return sortField;
	}

	public void setSortField(String sortField) {
		this.sortField = sortField;
	}

	public String getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}

	public int getTotalField() {
		return totalField;
	}

	public void setTotalField(int totalField) {
		this.totalField = totalField;
	}

	public List<?> getList() {
		return list;
	}

	public void setList(List<?> list) {
		this.list = list;
	}

	public String getRecommandString() {
		return recommandString;
	}

	public void setRecommandString(String recommandString) {
		this.recommandString = recommandString;
	}
	
	
}
